package com.xuan.system.service.question;

import com.xuan.common.core.domain.TableDataInfo;
import com.xuan.system.domain.question.dto.QuestionAddDTO;
import com.xuan.system.domain.question.dto.QuestionEditDTO;
import com.xuan.system.domain.question.dto.QuestionQueryDTO;
import com.xuan.system.domain.question.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.system.domain.question.vo.QuestionDetailVo;

/**
* @author ASUS
* @description 针对表【question(题目表)】的数据库操作Service
* @createDate 2024-08-14 16:00:37
*/
public interface QuestionService extends IService<Question> {

    TableDataInfo listQuestion(QuestionQueryDTO questionQueryDTO);

    int addQuestion(QuestionAddDTO questionAddDto);

    int deleteQuestion(Long questionId);

    int editQuestion(QuestionEditDTO questionEditDto);

    QuestionDetailVo getQuestionDetail(Long questionId);
}
